import {Component, OnInit} from '@angular/core';

@Component({
  selector: 'app-carousel',
  templateUrl: './carousel.component.html',
  styleUrls: ['./carousel.component.css']
})
export class CarouselComponent implements OnInit {

  private imgUrl: string;

  constructor() {
  }

  ngOnInit() {
    this.imgUrl = 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1525426005550&di=5fdfe6d5e9034f0d17e9938101a5f971&imgtype=0&src=http%3A%2F%2Fpicture.youth.cn%2Fqtdb%2F201710%2FW020171012374150862834.jpg';
  }

}
